<!DOCTYPE html>
<html>
<head>
    <title>维护页面</title>
    <script src="${absoluteContextPath}/js/echarts-all.js"></script>
    <script src="${absoluteContextPath}/js/echarts.js"></script>
    <script type="text/javascript">

        function refreshTable() {
            $("input[name=currentPage]").val(1);
            $("#search_qzByl_table").ajaxSubmit({
                url: '${absoluteContextPath}/qz/qzByl/ajaxList',
                success: function (data) {
                    var data = JSON.parse(data);
                    if (data.returnCode == 1) {
                        $("#tableContent").html(data.content.data);
                    } else {
                        $.showMessage({parentId: "showMessage", message: "表格数据加载异常！", type: "success"});
                    }
                }
            });
        }
        function qzbylMx(groud) {
            var data = {};
            data.groud = groud;
            if (groud == '其他') {
                $("#Form_ambHymxb").submit();

            } else {
                var url = '${absoluteContextPath}/qz/qzByl';
                url = url + "/qzbylMxSelect";
            }
            $.ajax({
                url: url,
                type: 'post',
                data: data,
                success: function (data) {
                    var data = JSON.parse(data);
                    if (data.returnCode == 1) {
                        var pop_div = $('#myModal2');
                        pop_div.html(data.content.data);
                        pop_div.modal('show');
                    } else {
                        $.showMessage({parentId: "errorMessage", message: "数据加载异常！", type: "success"});
                    }
                }
            });
        }

        var fn = function(){
            $("#search_qzByl_table").submit();
        }

        setInterval(fn,1700000);
    </script>
</head>
<body>

<div class="breadcrumbs">
    <ol class="breadcrumb">
        <li><a href="${absoluteContextPath}/home"><i class="fa fa-home"></i>首页</a></li>
        <li><a href="#">用户管理</a></li>
        <li class="active">综合查询</li>
    </ol>
</div>

<div class="main">
    <div style="display: none">
        <form id="Form_ambHymxb" action="${absoluteContextPath}/amb/ambHymxb/list"
              method="post">
            <input name="yes" id="yes" type="text" value="1"/>
        </form>
    </div>
    <!-- row -->
    <div class="row">
        <div class="col-md-12">

            <form id="search_qzByl_table" action="${absoluteContextPath}/qz/qzByl/list" method="post">
            </form>
            <div class="row">

                <div class="col-md-12">
                    <section class="tile">
                        <div class="tile-body nopadding">

                            <div class="table-responsive" id="tableContent">
                            <#include "tabledif.ftl"/>
                            </div>

                    </section>
                </div>


            </div>
            <div class="row">


                <div class="col-md-4">
                    <section class="tile">
                        <div class="tile-body nopadding">
                            <div class="table-responsive" id="tableContent">
                            <#include "tablelist.ftl"/>
                            </div>
                        </div>
                    </section>
                </div>
                <div class="col-md-8">
                    <section class="tile">
                        <div class="tile-body nopadding">
                            <div class="table-responsive" id="tableContent">
                            <#include "tableline.ftl"/>
                            </div>
                        </div>
                    </section>
                </div>


            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
</div>
<div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
</div>
</body>
</html>
